
$(function(){
    layui.use(['jquery','form','layer','laypage','element'], function(){
      var $ = layui.jquery,
          laydate = layui.laydate,
          layer = layui.layer,
          laypage = layui.laypage,
          element = layui.element();

     $(".left-1").on("click",  function() {
          layer.open({
            type:2
            ,fix: false
        /*   , closeBtn:0*/
            ,shade:[0.1, '#fff'] //遮罩透明度
           /* ,area:['350px', '345px']*/
           ,area:['350px', '370px']
         ,title:['添加账号','font-weight:600;text-align:center;font-size:16px;border-radius:10px;']
            ,content: 'add-account.html'
        });
      });
      // 删除操作
/*       $(".a4").on("click",  function() {
          layer.open({
            title:['删除操作','font-weight:600;text-align:center;font-size:16px;border-radius:10px;']
            ,shade:false //遮罩透明度
            ,content: '您确认要删除吗？'
            ,btn: ['取消', '确认']
            ,yes: function(index, layero){
               layer.closeAll();
          }
          ,btn2: function(index, layero){
              layer.msg('删除成功！',{time: 1000});
          }
        });
      });*/

    });
});
